#include "demo11.h"
#include "demo12.h"
#include "demo13.h"
#include <iostream>
#include <string>
using namespace std;
void test1()
{
    demo11_inherit demo;
    cout << demo.net_price(2) << endl;
}
void test2()
{
    string book_name = "hello";
    demo11_basic *p1 = new demo11_inherit(book_name, 12, 1, 2);
    cout << p1->isbn() << endl;
}
void test3()
{
    // demo11_basic *demo1 = new demo11_inherit();
    demo11_inherit demo;
    // demo11_basic demo2(demo);
    // demo11_inherit demo2 = new demo11_basic();
}
int main()
{

    // test1();
    // test2();
    test3();
    return 0;
}